<p>查看类中的方法集（包括超类方法），找到两个仅大写不同的方法或字段会使其它开发人员误解</p>

<h2>不规范的代码示例</h2>

<pre>
public class Car{

  public DriveTrain drive;

  public void tearDown(){...}

  public void drive() {...}  // 不合规；重复字段名称
}

public class MyCar extends Car{
  public void teardown(){...}  // 与父类的方法名相似

  public void drivefast(){...} 

  public void driveFast(){...} //本类方法名相似
}
</pre>
<h2>正确的代码示例</h2>

<pre>
public class Car{

  private DriveTrain drive;

  public void tearDown(){...}

  public void drive() {...}
}

public class MyCar extends Car{
  @Override
  public void tearDown(){...}

  public void drivefast(){...} 

  public void driveReallyFast(){...}

}
</pre>

